package com.audit.service.impl;

import com.audit.mapper.CityMapper;
import com.audit.service.CityService;
import com.common.entity.TbCity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 蛋儿
 * @date 2021/8/11 21:39
 */

@Service
public class CityServiceImpl implements CityService {


    @Autowired
    private CityMapper cityMapper;

    /**
     * 三级联动
     * @param pid
     * @return
     */
    @Override
    public List<TbCity> findCity(Integer pid) {
        return cityMapper.findCity(pid);
    }
}
